﻿using System;
using System.IO;

namespace ExcelDnaDemo
{
    //https://docs.microsoft.com/zh-cn/cpp/build/configuring-programs-for-windows-xp //配置适用于 Windows XP 的程序
    static class AppSettings
    {
        public static string ApplicationName = string.Empty;
        public static double ApplicationVer = 0;
        internal const string DemoAddinGUID = "05278341-BD7A-4F36-B24A-457316C9B0F2";
        internal const string DemoAddinProgID = "DNAForETDemo.Connect";

        internal const string RibbonGUID = "05278342-E294-40E1-A687-2DCF6EFADA77";
        internal const string RibbonProgID = "DNAForETDemo.Ribbon";

        internal const string CTPGUID = "05278343-0FD5-4359-833B-33723C17A96A";
        internal const string CTPProgID = "DNAForETDemo.CTPHost";

        internal const string FirstTaskpaneName = "DNAForETDemoCTP";
        internal static string logDirectory { get; set; }
        static AppSettings()
        {
            logDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + Path.DirectorySeparatorChar;            
        }
    }
}
